Rename ImageGallery::setCaptionSafe() to ImageGallery::setCaptionHtml(), since as...
authorRob Church <robchurch@users.mediawiki.org>
Fri, 5 Jan 2007 01:07:04 +0000 (01:07 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Fri, 5 Jan 2007 01:07:04 +0000 (01:07 +0000)
includes/ImageGallery.php
includes/Parser.php

index 4fde005..9d58b7f 100644 (file)
@@ -55,7 +55,7 @@ class ImageGallery
         *
         * @param $caption Caption
         */
-       function setCaptionSafe( $caption ) {
+       function setCaptionHtml( $caption ) {
                $this->mCaption = $caption;
        }
 
index 6fd56ed..31e6fb3 100644 (file)
@@ -4310,7 +4310,7 @@ class Parser
                        $caption = $params['caption'];
                        $caption = htmlspecialchars( $caption );
                        $caption = $this->replaceInternalLinks( $caption );
-                       $ig->setCaptionSafe( $caption );
+                       $ig->setCaptionHtml( $caption );
                }
 
                $lines = explode( "\n", $text );